Crate cloudflare_soos

source ·
Expand description

Scans a progressive JPEG file to find which byte ranges of the file are critical for displaying it at key stages. This knowledge can be used to serve JPEGs optimally over HTTP/2 connections. This library can generate cf-priority-change headers compatible with prioritization syntax used by Cloudflare.

Modules

  • For advanced usage, low-level access to the basic JPEG structure

Structs

  • Key positions in a progressive image file

Enums

  • Errors that can occur while decoding a JPEG image.

Type Aliases